﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Services;

namespace ActionServices
{
    public interface IDBActionService
    {
        bool TestConnect(string connectionstring);
    }
    public class DBActionService : IDBActionService
    {
        DBService Service;
        public DBActionService()
        {
            Service = new DBService();
        }
        public virtual bool TestConnect(string connectionstring)
        {
            return Service.TryConnect(connectionstring);
        }
    }
}
